Skip to content

Fix #1506: Boss respawns without cooldown after killing#1507

Draft
kangobot[bot] wants to merge 1 commit intomasterfrom
fix/issue-1506
Draft

Fix #1506: Boss respawns without cooldown after killing#1507
kangobot[bot] wants to merge 1 commit intomasterfrom
fix/issue-1506

Conversation

@kangobot
Copy link
Copy Markdown

@kangobot kangobot Bot commented May 1, 2026

Automated fix proposed by AI analysis of the linked issue.

Changes

  • main/src/main/java/org/mineacademy/boss/spawn/SpawnRule.java: Fix LOCATION_PERIOD respawning instantly after death: include boss death time in cooldown calculation.
  • main/src/main/java/org/mineacademy/boss/spawn/SpawnRule.java: Move getLastDeathTime to the base class so all rule types share it.
  • main/src/main/java/org/mineacademy/boss/spawn/SpawnRuleRespawn.java: Remove duplicate - now inherited from SpawnRule base.

This is a draft PR — human review required before merging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants